<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/10/18
  Time: 11:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link href="/static/bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
<script src="/static/jquery/jquery-3.3.1.min.js"></script>
<script src="/static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script >
    $(function () {
        $("img").click(function () {
            //刷新验证码
            path = $(this).attr("src")+"?"+new Date().getTime();
            $(this).attr("src",path);
        })
    })
</script>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="/a" method="post" enctype="multipart/form-data">
        请输入地区id：<input type="text" name="locationId"/>
        file:<input type="file" name="source"/>
        <input type="submit" value="提交">
        <a href="/download/test?name=bai.jpg">下载</a>

        请输入验证码<input type="text" name="inp"/>
        <img src="/captcha" style="width:85px" />

    </form>


</body>
</html>
